import { post } from '@/request/http'
// import store from '@/store'

// 首页左边
export const queryBiddingStatusListA = data =>
  post('/FTKJWLHYPT/home/queryBidding', {
    Data: {
      Parameters: {
        FTKJWLHYPT: {
          bidName: data.bidName
        }
      },
      PageIndex: {
        FTKJWLHYPT: data.PageIndex
      },
      PageSize: {
        FTKJWLHYPT: data.PageSize
      }
    }
  })
// 左边详情
export const queryBiddingStatusListLeft = data =>
  post('/FTKJWLHYPT/home/queryBiddingDetail', {
    Data: {
      Parameters: {
        FTKJWLHYPT: {
          baId: data.baId,
          bidId: data.bidId,
          bidTitle: data.bidTitle
        }
      }
    }
  })
// 首页右边
export const queryBiddingStatusListB = data =>
  post('/FTKJWLHYPT/home/queryWinningBidding', {
    Data: {
      Parameters: {
        FTKJWLHYPT: {
          bidName: data.bidName
        }
      }
    }
  })
// 右边详情
export const queryBiddingStatusListRight = data =>
  post('/FTKJWLHYPT/home/queryWinningDetail', {
    Data: {
      Parameters: {
        FTKJWLHYPT: {
          baId: data.baId,
          bidId: data.bidId,
          bidTitle: data.bidTitle
        }
      }
    }
  })
